package com.fable.dal.mapper;

import com.fable.dal.model.HomeClickDO;
import com.fable.dal.model.HomeClickQuery;

import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * MyBatis Mapper for HomeClick.
 */
public interface HomeClickMapper {
    /**
     * query count by query condition.
     */
    int countByQuery(HomeClickQuery query);

    /**
     * delete by query condition.
     */
    int deleteByQuery(HomeClickQuery query);

    /**
     * delete by primary key.
     */
    int deleteByPrimaryKey(HomeClickDO record);

    /**
     * insert selective.
     */
    int insertSelective(HomeClickDO record);

    /**
     * select by query condition.
     */
    List<HomeClickDO> selectByQuery(HomeClickQuery query);

    /**
     * select by primary key.
     */
    HomeClickDO selectByPrimaryKey(Long id);

    /**
     * update by query condition selective.
     */
    int updateByQuerySelective(@Param("record") HomeClickDO record, @Param("query") HomeClickQuery query);

    /**
     * update by query condition.
     */
    int updateByQuery(@Param("record") HomeClickDO record, @Param("query") HomeClickQuery query);

    /**
     * update by primary key selective.
     */
    int updateByPrimaryKeySelective(HomeClickDO record);
}